<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>智慧箴言：点亮职场与人生之路</title>
    <!-- Tailwind CSS CDN -->
    <script src="https://cdn.tailwindcss.com"></script>
    <!-- Font Awesome CDN -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#4361EE',
                        secondary: '#06D6A0',
                        accent: '#FFD166',
                        dark: '#1E1E2C',
                        light: '#F8F9FC',
                        purple: {
                            550: '#7B5DD6'
                        },
                        pink: {
                            550: '#E36493'
                        }
                    }
                }
            }
        }
    </script>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;600;700&display=swap');
        
        body {
            font-family: 'Noto Sans SC', sans-serif;
            background: linear-gradient(135deg, #5E60CE 0%, #4361EE 50%, #48BFE3 100%);
            min-height: 100vh;
            color: #1E1E2C;
        }
        
        .quote-card {
            transition: all 0.3s ease;
            transform-origin: center;
            background: linear-gradient(135deg, #ffffff 0%, #f8f9fc 100%);
        }
        
        .quote-card:hover {
            transform: translateY(-5px) scale(1.01);
            box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.2);
        }
        
        .like-btn {
            transition: all 0.3s ease;
        }
        
        .like-btn:hover {
            transform: scale(1.05);
        }
        
        .comment-section {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease;
        }
        
        .comment-section.active {
            max-height: 500px;
        }
        
        .fade-in {
            animation: fadeIn 0.5s ease-in;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .heart-animation {
            animation: heartBeat 0.5s ease;
        }
        
        @keyframes heartBeat {
            0% { transform: scale(1); }
            25% { transform: scale(1.2); }
            50% { transform: scale(0.95); }
            100% { transform: scale(1); }
        }
        
        .glow {
            box-shadow: 0 0 20px rgba(255, 209, 102, 0.6);
        }
        
        .floating {
            animation: floating 3s ease-in-out infinite;
        }
        
        @keyframes floating {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-8px); }
            100% { transform: translateY(0px); }
        }
    </style>
</head>
<body class="min-h-screen py-8 px-4">
    <div class="max-w-4xl mx-auto">
        <!-- 页眉 -->
        <header class="text-center mb-12 floating">
            <h1 class="text-4xl md:text-5xl font-bold text-white mb-4 drop-shadow-md">智慧箴言：点亮职场与人生之路</h1>
            <p class="text-xl text-blue-100 max-w-2xl mx-auto">十句精选金句，蕴含职场与人生的深刻智慧，为您带来启发与思考</p>
        </header>

        <!-- 金句列表 -->
        <div class="space-y-6 mb-12">
            <!-- 金句1 -->
            <div class="quote-card rounded-2xl shadow-lg p-6 border-l-4 border-primary">
                <p class="text-xl font-semibold text-dark mb-3">"今日事今日毕。今天做不成的，明天也不会做好。一天也不能虚度，要下决心把可能的事情，一把抓住。"</p>
                <p class="text-primary font-medium mb-4">— 《浮士德》 - 歌德</p>
                <div class="flex justify-between items-center">
                    <button class="like-btn flex items-center space-x-1 text-gray-500 hover:text-red-500" onclick="toggleLike(this)">
                        <i class="far fa-heart"></i>
                        <span class="count">42</span>
                    </button>
                    <button class="text-primary hover:text-purple-700 flex items-center font-medium" onclick="toggleComment(this)">
                        <i class="fas fa-comment mr-2"></i>
                        <span>点评交流</span>
                    </button>
                </div>
                <div class="comment-section mt-4">
                    <div class="comments-container mb-4 space-y-3"></div>
                    <form class="comment-form" onsubmit="addComment(event, this)">
                        <textarea class="w-full px-4 py-3 border border-gray-300 rounded-xl focus:ring-2 focus:ring-primary focus:border-transparent" rows="2" placeholder="分享您的想法..." required></textarea>
                        <button type="submit" class="mt-3 px-5 py-2 bg-primary text-white rounded-xl hover:bg-purple-700 transition font-medium">提交评论</button>
                    </form>
                </div>
            </div>

            <!-- 金句2 -->
            <div class="quote-card rounded-2xl shadow-lg p-6 border-l-4 border-secondary">
                <p class="text-xl font-semibold text-dark mb-3">"生活不可能像你想象得那么好，但也不会像你想象得那么糟。"</p>
                <p class="text-secondary font-medium mb-4">— 《人生》 - 莫泊桑</p>
                <div class="flex justify-between items-center">
                    <button class="like-btn flex items-center space-x-1 text-gray-500 hover:text-red-500" onclick="toggleLike(this)">
                        <i class="far fa-heart"></i>
                        <span class="count">38</span>
                    </button>
                    <button class="text-secondary hover:text-green-700 flex items-center font-medium" onclick="toggleComment(this)">
                        <i class="fas fa-comment mr-2"></i>
                        <span>点评交流</span>
                    </button>
                </div>
                <div class="comment-section mt-4">
                    <div class="comments-container mb-4 space-y-3"></div>
                    <form class="comment-form" onsubmit="addComment(event, this)">
                        <textarea class="w-full px-4 py-3 border border-gray-300 rounded-xl focus:ring-2 focus:ring-secondary focus:border-transparent" rows="2" placeholder="分享您的想法..." required></textarea>
                        <button type="submit" class="mt-3 px-5 py-2 bg-secondary text-white rounded-xl hover:bg-green-700 transition font-medium">提交评论</button>
                    </form>
                </div>
            </div>

            <!-- 金句3 -->
            <div class="quote-card rounded-2xl shadow-lg p-6 border-l-4 border-accent">
                <p class="text-xl font-semibold text-dark mb-3">"你担心什么，什么就控制你。"</p>
                <p class="text-yellow-600 font-medium mb-4">— 《约翰·洛克菲勒日记》 - 约翰·D·洛克菲勒</p>
                <div class="flex justify-between items-center">
                    <button class="like-btn flex items-center space-x-1 text-gray-500 hover:text-red-500" onclick="toggleLike(this)">
                        <i class="far fa-heart"></i>
                        <span class="count">56</span>
                    </button>
                    <button class="text-yellow-600 hover:text-yellow-700 flex items-center font-medium" onclick="toggleComment(this)">
                        <i class="fas fa-comment mr-2"></i>
                        <span>点评交流</span>
                    </button>
                </div>
                <div class="comment-section mt-4">
                    <div class="comments-container mb-4 space-y-3"></div>
                    <form class="comment-form" onsubmit="addComment(event, this)">
                        <textarea class="w-full px-4 py-3 border border-gray-300 rounded-xl focus:ring-2 focus:ring-accent focus:border-transparent" rows="2" placeholder="分享您的想法..." required></textarea>
                        <button type="submit" class="mt-3 px-5 py-2 bg-accent text-dark rounded-xl hover:bg-yellow-500 transition font-medium">提交评论</button>
                    </form>
                </div>
            </div>

            <!-- 金句4 -->
            <div class="quote-card rounded-2xl shadow-lg p-6 border-l-4 border-purple-550">
                <p class="text-xl font-semibold text-dark mb-3">"我们一路奋战，不是为了改变世界，而是为了不让世界改变我们。"</p>
                <p class="text-purple-550 font-medium mb-4">— 《熔炉》 - 孔枝泳</p>
                <div class="flex justify-between items-center">
                    <button class="like-btn flex items-center space-x-1 text-gray-500 hover:text-red-500" onclick="toggleLike(this)">
                        <i class="far fa-heart"></i>
                        <span class="count">67</span>
                    </button>
                    <button class="text-purple-550 hover:text-purple-700 flex items-center font-medium" onclick="toggleComment(this)">
                        <i class="fas fa-comment mr-2"></i>
                        <span>点评交流</span>
                    </button>
                </div>
                <div class="comment-section mt-4">
                    <div class="comments-container mb-4 space-y-3"></div>
                    <form class="comment-form" onsubmit="addComment(event, this)">
                        <textarea class="w-full px-4 py-3 border border-gray-300 rounded-xl focus:ring-2 focus:ring-purple-500 focus:border-transparent" rows="2" placeholder="分享您的想法..." required></textarea>
                        <button type="submit" class="mt-3 px-5 py-2 bg-purple-550 text-white rounded-xl hover:bg-purple-700 transition font-medium">提交评论</button>
                    </form>
                </div>
            </div>

            <!-- 金句5 -->
            <div class="quote-card rounded-2xl shadow-lg p-6 border-l-4 border-pink-550">
                <p class="text-xl font-semibold text-dark mb-3">"你的薪水与你的不可替代性成正比，而不是与你的劳动量成正比。"</p>
                <p class="text-pink-550 font-medium mb-4">— 《穷爸爸富爸爸》 - 罗伯特·清崎</p>
                <div class="flex justify-between items-center">
                    <button class="like-btn flex items-center space-x-1 text-gray-500 hover:text-red-500" onclick="toggleLike(this)">
                        <i class="far fa-heart"></i>
                        <span class="count">72</span>
                    </button>
                    <button class="text-pink-550 hover:text-pink-700 flex items-center font-medium" onclick="toggleComment(this)">
                        <i class="fas fa-comment mr-2"></i>
                        <span>点评交流</span>
                    </button>
                </div>
                <div class="comment-section mt-4">
                    <div class="comments-container mb-4 space-y-3"></div>
                    <form class="comment-form" onsubmit="addComment(event, this)">
                        <textarea class="w-full px-4 py-3 border border-gray-300 rounded-xl focus:ring-2 focus:ring-pink-400 focus:border-transparent" rows="2" placeholder="分享您的想法..." required></textarea>
                        <button type="submit" class="mt-3 px-5 py-2 bg-pink-550 text-white rounded-xl hover:bg-pink-700 transition font-medium">提交评论</button>
                    </form>
                </div>
            </div>

            <!-- 金句6 -->
            <div class="quote-card rounded-2xl shadow-lg p-6 border-l-4 border-green-500">
                <p class="text-xl font-semibold text-dark mb-3">"沟通最大的问题在于，我们总以为已经沟通了。"</p>
                <p class="text-green-600 font-medium mb-4">— 《沟通的艺术》 - 罗纳德·B·阿德勒 & 拉塞尔·F·普罗科特</p>
                <div class="flex justify-between items-center">
                    <button class="like-btn flex items-center space-x-1 text-gray-500 hover:text-red-500" onclick="toggleLike(this)">
                        <i class="far fa-heart"></i>
                        <span class="count">45</span>
                    </button>
                    <button class="text-green-600 hover:text-green-700 flex items-center font-medium" onclick="toggleComment(this)">
                        <i class="fas fa-comment mr-2"></i>
                        <span>点评交流</span>
                    </button>
                </div>
                <div class="comment-section mt-4">
                    <div class="comments-container mb-4 space-y-3"></div>
                    <form class="comment-form" onsubmit="addComment(event, this)">
                        <textarea class="w-full px-4 py-3 border border-gray-300 rounded-xl focus:ring-2 focus:ring-green-500 focus:border-transparent" rows="2" placeholder="分享您的想法..." required></textarea>
                        <button type="submit" class="mt-3 px-5 py-2 bg-green-600 text-white rounded-xl hover:bg-green-700 transition font-medium">提交评论</button>
                    </form>
                </div>
            </div>

            <!-- 金句7 -->
            <div class="quote-card rounded-2xl shadow-lg p-6 border-l-4 border-blue-500">
                <p class="text-xl font-semibold text-dark mb-3">"你要有勇气让你不喜欢的人不喜欢你。"</p>
                <p class="text-blue-600 font-medium mb-4">— 《被讨厌的勇气》 - 岸见一郎 & 古贺史健</p>
                <div class="flex justify-between items-center">
                    <button class="like-btn flex items-center space-x-1 text-gray-500 hover:text-red-500" onclick="toggleLike(this)">
                        <i class="far fa-heart"></i>
                        <span class="count">51</span>
                    </button>
                    <button class="text-blue-600 hover:text-blue-700 flex items-center font-medium" onclick="toggleComment(this)">
                        <i class="fas fa-comment mr-2"></i>
                        <span>点评交流</span>
                    </button>
                </div>
                <div class="comment-section mt-4">
                    <div class="comments-container mb-4 space-y-3"></div>
                    <form class="comment-form" onsubmit="addComment(event, this)">
                        <textarea class="w-full px-4 py-3 border border-gray-300 rounded-xl focus:ring-2 focus:ring-blue-500 focus:border-transparent" rows="2" placeholder="分享您的想法..." required></textarea>
                        <button type="submit" class="mt-3 px-5 py-2 bg-blue-600 text-white rounded-xl hover:bg-blue-700 transition font-medium">提交评论</button>
                    </form>
                </div>
            </div>

            <!-- 金句8 -->
            <div class="quote-card rounded-2xl shadow-lg p-6 border-l-4 border-yellow-500">
                <p class="text-xl font-semibold text-dark mb-3">"谈判的目标不是打败对方，而是达成一个让双方都觉得自己赢了的协议。"</p>
                <p class="text-yellow-600 font-medium mb-4">— 《谈判力》 - 罗杰·费希尔 & 威廉·尤里</p>
                <div class="flex justify-between items-center">
                    <button class="like-btn flex items-center space-x-1 text-gray-500 hover:text-red-500" onclick="toggleLike(this)">
                        <i class="far fa-heart"></i>
                        <span class="count">39</span>
                    </button>
                    <button class="text-yellow-600 hover:text-yellow-700 flex items-center font-medium" onclick="toggleComment(this)">
                        <i class="fas fa-comment mr-2"></i>
                        <span>点评交流</span>
                    </button>
                </div>
                <div class="comment-section mt-4">
                    <div class="comments-container mb-4 space-y-3"></div>
                    <form class="comment-form" onsubmit="addComment(event, this)">
                        <textarea class="w-full px-4 py-3 border border-gray-300 rounded-xl focus:ring-2 focus:ring-yellow-500 focus:border-transparent" rows="2" placeholder="分享您的想法..." required></textarea>
                        <button type="submit" class="mt-3 px-5 py-2 bg-yellow-500 text-dark rounded-xl hover:bg-yellow-600 transition font-medium">提交评论</button>
                    </form>
                </div>
            </div>

            <!-- 金句9 -->
            <div class="quote-card rounded-2xl shadow-lg p-6 border-l-4 border-indigo-500">
                <p class="text-xl font-semibold text-dark mb-3">"管理是把事情做对，领导是做对的事情。"</p>
                <p class="text-indigo-600 font-medium mb-4">— 《领导力》 - 沃伦·本尼斯 & 伯特·纳努斯</p>
                <div class="flex justify-between items-center">
                    <button class="like-btn flex items-center space-x-1 text-gray-500 hover:text-red-500" onclick="toggleLike(this)">
                        <i class="far fa-heart"></i>
                        <span class="count">48</span>
                    </button>
                    <button class="text-indigo-600 hover:text-indigo-700 flex items-center font-medium" onclick="toggleComment(this)">
                        <i class="fas fa-comment mr-2"></i>
                        <span>点评交流</span>
                    </button>
                </div>
                <div class="comment-section mt-4">
                    <div class="comments-container mb-4 space-y-3"></div>
                    <form class="comment-form" onsubmit="addComment(event, this)">
                        <textarea class="w-full px-4 py-3 border border-gray-300 rounded-xl focus:ring-2 focus:ring-indigo-500 focus:border-transparent" rows="2" placeholder="分享您的想法..." required></textarea>
                        <button type="submit" class="mt-3 px-5 py-2 bg-indigo-600 text-white rounded-xl hover:bg-indigo-700 transition font-medium">提交评论</button>
                    </form>
                </div>
            </div>

            <!-- 金句10 -->
            <div class="quote-card rounded-2xl shadow-lg p-6 border-l-4 border-red-500">
                <p class="text-xl font-semibold text-dark mb-3">"真正的自信来自于拥抱不确定性，而不是逃避它。"</p>
                <p class="text-red-600 font-medium mb-4">— 《反脆弱》 - 纳西姆·尼古拉斯·塔勒布</p>
                <div class="flex justify-between items-center">
                    <button class="like-btn flex items-center space-x-1 text-gray-500 hover:text-red-500" onclick="toggleLike(this)">
                        <i class="far fa-heart"></i>
                        <span class="count">53</span>
                    </button>
                    <button class="text-red-600 hover:text-red-700 flex items-center font-medium" onclick="toggleComment(this)">
                        <i class="fas fa-comment mr-2"></i>
                        <span>点评交流</span>
                    </button>
                </div>
                <div class="comment-section mt-4">
                    <div class="comments-container mb-4 space-y-3"></div>
                    <form class="comment-form" onsubmit="addComment(event, this)">
                        <textarea class="w-full px-4 py-3 border border-gray-300 rounded-xl focus:ring-2 focus:ring-red-500 focus:border-transparent" rows="2" placeholder="分享您的想法..." required></textarea>
                        <button type="submit" class="mt-3 px-5 py-2 bg-red-600 text-white rounded-xl hover:bg-red-700 transition font-medium">提交评论</button>
                    </form>
                </div>
            </div>
        </div>

        <!-- 互动区域 -->
        <div class="bg-white rounded-2xl shadow-lg p-8 mb-8 text-center glow">
            <h2 class="text-2xl font-bold text-dark mb-4">哪一句最触动您？欢迎参与互动，与大家交流您的感悟。</h2>
            <div class="flex justify-center space-x-4 mb-6">
                <button class="px-6 py-3 bg-primary text-white rounded-xl flex items-center hover:bg-purple-700 transition font-medium">
                    <i class="fas fa-heart mr-2"></i> 点赞共勉
                </button>
                <button class="px-6 py-3 bg-secondary text-white rounded-xl flex items-center hover:bg-green-700 transition font-medium">
                    <i class="fas fa-comment mr-2"></i> 点评交流
                </button>
            </div>
            <div class="text-left">
                <h3 class="text-xl font-semibold text-dark mb-2">分享你的思考：</h3>
                <p class="text-gray-700 mb-3">您对哪句金句最有感触？它在您的工作或生活中带来了怎样的启示？欢迎在评论区分享您的故事和感悟，让我们在交流中共同成长。</p>
                <p class="text-gray-700">智慧的魅力在于分享与碰撞，期待您的精彩评论！</p>
            </div>
        </div>

        <!-- 页脚 -->
        <footer class="text-center text-white text-sm py-4">
            <p>© 2023 智慧箴言 | 点亮职场与人生之路</p>
        </footer>
    </div>

    <script>
        // 点赞功能
        function toggleLike(btn) {
            const heartIcon = btn.querySelector('i');
            const countSpan = btn.querySelector('.count');
            
            if (heartIcon.classList.contains('far')) {
                heartIcon.classList.remove('far');
                heartIcon.classList.add('fas', 'text-red-500', 'heart-animation');
                countSpan.textContent = parseInt(countSpan.textContent) + 1;
                
                // 添加动画效果
                btn.classList.add('heart-animation');
                setTimeout(() => {
                    btn.classList.remove('heart-animation');
                }, 500);
            } else {
                heartIcon.classList.remove('fas', 'text-red-500');
                heartIcon.classList.add('far');
                countSpan.textContent = parseInt(countSpan.textContent) - 1;
            }
        }
        
        // 切换评论区域
        function toggleComment(btn) {
            const card = btn.closest('.quote-card');
            const commentSection = card.querySelector('.comment-section');
            commentSection.classList.toggle('active');
        }
        
        // 添加评论
        function addComment(event, form) {
            event.preventDefault();
            const textarea = form.querySelector('textarea');
            const commentText = textarea.value.trim();
            
            if (commentText) {
                const commentsContainer = form.previousElementSibling;
                const commentDiv = document.createElement('div');
                commentDiv.className = 'bg-gray-50 p-4 rounded-xl fade-in';
                commentDiv.innerHTML = `
                    <div class="flex items-start">
                        <div class="bg-primary w-10 h-10 rounded-full flex items-center justify-center text-white font-bold mr-3">用户</div>
                        <div class="flex-1">
                            <p class="text-gray-800">${commentText}</p>
                            <p class="text-gray-500 text-sm mt-1">刚刚</p>
                        </div>
                    </div>
                `;
                
                commentsContainer.appendChild(commentDiv);
                textarea.value = '';
                
                // 滚动到最新评论
                commentDiv.scrollIntoView({ behavior: 'smooth' });
            }
        }
        
        // 页面加载时的动画效果
        document.addEventListener('DOMContentLoaded', function() {
            const quoteCards = document.querySelectorAll('.quote-card');
            quoteCards.forEach((card, index) => {
                setTimeout(() => {
                    card.classList.add('fade-in');
                }, index * 100);
            });
        });
    </script>
</body>
</html>